home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1995 August
/
CICA - The Ultimate Collection of Shareware for Windows (Disc 2) (August 1995).iso
/
disc2
/
nt
/
source.exe
/
POSIX
/
SH
/
STD
/
STDC
/
STDIO.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-07-13
|
301 b
|
27 lines
/*
* Emulation of misc. ANSI C stdio functions
*/
/* $Header */
#include <stdio.h>
#if 1
int
remove(name)
Const char *name;
{
return unlink(name);
}
#endif
#if _V7
int
rename(oname, nname)
Const char *oname, *nname;
{
return link(oname, nname) == 0 && unlink(oname) == 0 ? 0 : -1;
}
#endif